<?php

use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;

class AlterPracticalTrainingEvaluationsTable extends Migration
{
    /**
     * Run the migrations.
     *
     * @return void
     */
    public function up()
    {
        Schema::table('practical_training_evaluations', function (Blueprint $table) {
            //是否是最后一条审核记录
            $table->tinyInteger("is_finally")->default(0)->comment("是否是最后一条审核记录[否,是]");
        });
    }

    /**
     * Reverse the migrations.
     *
     * @return void
     */
    public function down()
    {
        Schema::table('practical_training_evaluations', function (Blueprint $table) {
            //
        });
    }
}
